function handles = saveListFile(handles)
% saveListFile
%
% Editing:
% ----------------------------------------------

a = fieldnames(handles.analysis.mapAverager.cellLists.currentFile.data);

listsAndExpts = handles.analysis.mapAverager.cellLists.currentFile.listsAndExpts;

% old = eval(['handles.analysis.mapAverager.cellLists.currentFile.data.' a{1}])

eval(['handles.analysis.mapAverager.cellLists.currentFile.data.' a{1} ' = listsAndExpts;']);

% updated = eval(['handles.analysis.mapAverager.cellLists.currentFile.data.' a{1}])

savedInfo = listsAndExpts;

fullname = handles.analysis.mapAverager.cellLists.currentFile.fullname;

eval(['save ' fullname ' savedInfo;']);


%%% note -- should really save using fullname